﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Model;

namespace WindowsForms
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            //IQueryMgr iQuery = null;
            //iQuery = QueryMgr.GetDbInstance();
            //using (BillsActionAEProcess frm = new BillsActionAEProcess())
            //{
            //    if (frm.ShowDialog(this.FindForm()) == DialogResult.OK)
            //    {
            //        Bill stE = new Bill()
            //        {
            //            BillID = Guid.NewGuid(),
            //            DeliveryDate = frm.DeliveryDate,
            //            BillCode = frm.BillCode,
            //            OrderDate = frm.OrderDate,
            //            CustomerID = frm.CustomerID,
            //            DepositMoney = frm.DepositMoney,
            //            TotalMoney = frm.TotalMoney,
            //            Description = frm.Description,
            //            IsDeleted = false
            //        };
            //        iQuery.Bil_NewBill(stE);
            //    }
            //}
        }
    }
}
